Minimum Cycle Basis and All-Pairs Min Cut of a Planar Graph in Subquadratic Time

نویسنده

  • Christian Wulff-Nilsen
چکیده

A minimum cycle basis of a weighted undirected graph G is a basis of the cycle space of G such that the total weight of the cycles in this basis is minimized. If G is a planar graph with non-negative edge weights, such a basis can be found in O(n2) time and space, where n is the size of G. We show that this is optimal if an explicit representation of the basis is required. We then present an O(n3/2 log n) time and O(n3/2) space algorithm that computes a minimum cycle basis implicitly. From this result, we obtain an output-sensitive algorithm that explicitly computes a minimum cycle basis in O(n3/2 log n + C) time and O(n3/2 + C) space, where C is the total size (number of edges and vertices) of the cycles in the basis. These bounds reduce to O(n3/2 log n) and O(n3/2), respectively, when G is unweighted. We get similar results for the all-pairs min cut problem since it is dual equivalent to the minimum cycle basis problem for planar graphs. We also obtain O(n3/2 log n) time and O(n3/2) space algorithms for finding, respectively, the weight vector and a Gomory-Hu tree of G. The previous best time and space bound for these two problems was quadratic. From our Gomory-Hu tree algorithm, we obtain the following result: with O(n3/2 log n) time and O(n3/2) space for preprocessing, the weight of a min cut between any two given vertices of G can be reported in constant time. Previously, such an oracle required quadratic time and space for preprocessing. The oracle can also be extended to report the actual cut in time proportional to its size. Department of Computer Science, University of Copenhagen, [email protected], http://www.diku.dk/hjemmesider/ansatte/koolooz/

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Minimum Cut of Directed Planar Graphs in O(n log log n) Time

We give an O(n log log n) time algorithm for computing the minimum cut (or equivalently, the shortest cycle) of a weighted directed planar graph. This improves the previous fastest O(n log n) solution [SODA’04]. Interestingly, while in undirected planar graphs both min-cut and min st-cut have O(n log log n) solutions [ESA’11, STOC’11], in directed planar graphs our result makes min-cut faster t...

متن کامل

Computing Minimum Cycle Bases in Weighted Partial 2-Trees in Linear Time

We present a linear time algorithm for computing an implicit linear space representation of a minimum cycle basis in weighted partial 2-trees (i.e., graphs of treewidth at most two) with nonnegative edge-weights. The implicit representation can be made explicit in a running time that is proportional to the size of the minimum cycle basis. For planar graphs, Borradaile, Sankowski, and Wulff-Nils...

متن کامل

Minimum cut bases in undirected networks

Given an undirected, connected network G = (V,E) with weights on the edges, the cut basis problem is asking for a maximal number of linear independent cuts such that the sum of the cut weights is minimized. Surprisingly, this problem has not attained as much attention as its graph theoretic counterpart, the cycle basis problem. We consider two versions of the problem, the unconstrained and the ...

متن کامل

Minimum s-t cut in undirected planar graphs when the source and the sink are close

Consider the minimum s − t cut problem in an embedded undirected planar graph. Let p be the minimum number of faces that a curve from s to t passes through. If p = 1, that is, the vertices s and t are on the boundary of the same face, then the minimum cut can be found in O(n) time. For general planar graphs this cut can be found in O(n log n) time. We unify these results and give an O(n log p) ...

متن کامل

All-Pairs Min-Cut in Sparse Networks

Algorithms are presented for the all-pairs min-cut problem in bounded treewidth, planar, and sparse networks. The approach used is to preprocess the input n-vertex network so that afterward, the value of a min-cut between any two vertices can be efficiently computed. A tradeoff is shown between the preprocessing time and the time taken to compute min-cuts subsequently. In particular, after an Ž...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/0912.1208  شماره 

صفحات  -

تاریخ انتشار 2009